<extend name='Layout/index'/>
<block name='breadcrumb'>
	<li>
		<i class="icon-home home-icon"></i>
		<a href="<{:U('Index/index')}>">首页</a>
	</li>
	<li class="active">文章管理</li>
</block>
<block name='page-header'>
	<h1>
		文章管理
		<small>
			<i class="icon-double-angle-right"></i>
			 添加文章
		</small>
	</h1>
</block>
<block name='main-content'>
	<div class="row">
		<div class="col-md-12">
			<form class="form-horizontal" action="<{:U('Articles/insert')}>" method='post' >
				<div class="form-group">
				    <label for="inputEmail3" class="col-sm-2 control-label">文章标题</label>
				    <div class="col-sm-6">
				      <input type="text" class="form-control" name='a_title' id="inputEmail3" placeholder="请输入一个标题">
				    </div>
				</div>
				<div class="form-group">
				    <label for="inputEmail3" class="col-sm-2 control-label">文章分类</label>
				    <div class="col-sm-10">
						<select name="article_id" id="level">
						<option value="0" >&nbsp;&nbsp;请选择。。。</option>
						 <volist name='data' id='vo'>
						<option value="<{$vo.id}>"><{$vo.name}></option>
						</volist>
						</select>	
				    </div>
				</div>
				<div class="form-group">
				    <label for="inputEmail3" class="col-sm-2 control-label">上传图片</label>
				    <div class="col-sm-6">
				      <input type="file" name="image" class="text-word">
				    </div>
				</div>
				<div class="form-group">
				    <label for="inputEmail3" class="col-sm-2 control-label">文章内容</label>
				    <div class="col-sm-6">
				      <textarea name="a_content" type="text" cols="80" rows="20" ></textarea>
				    </div>
				</div>
				<div class="mail-body text-center tooltip-demo">
				<button  class="btn btn-sm btn-primary" id = "adds" type="submit"> 发布</button>
				</div>
				<div class="clearfix"></div>
			</form>
		</div>
	</div>
</block>
